package com.ruoyi.common.core.domain.business.waterDistribution;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 月农户限额水量及计划水量计算对象 wi_farmplan_m
 * 
 * @author ps
 * @date 2023-02-16
 */
public class WiFarmplanM extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 农户代码 */
    private String farmCd;

    /** 限额年月 */
    private String planYm;

    /** 上旬限额水量 */
    @Excel(name = "上旬限额水量")
    private BigDecimal firstCtrl;

    /** 中旬限额水量 */
    @Excel(name = "中旬限额水量")
    private BigDecimal secondCtrl;

    /** 下旬限额水量 */
    @Excel(name = "下旬限额水量")
    private BigDecimal thirdCtrl;

    /** 本月限额水量 */
    @Excel(name = "本月限额水量")
    private BigDecimal monCtrl;

    /** 上旬计划水量 */
    @Excel(name = "上旬计划水量")
    private BigDecimal firstPlan;

    /** 中旬计划水量 */
    @Excel(name = "中旬计划水量")
    private BigDecimal secondPlan;

    /** 下旬计划水量 */
    @Excel(name = "下旬计划水量")
    private BigDecimal thirdPlan;

    /** 本月计划水量 */
    @Excel(name = "本月计划水量")
    private BigDecimal monPlan;

    /** 操作人 */
    @Excel(name = "操作人")
    private String lastId;

    /** 操作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date operDate;

    /** 备注 */
    @Excel(name = "备注")
    private String planMark;

    public void setFarmCd(String farmCd) 
    {
        this.farmCd = farmCd;
    }

    public String getFarmCd() 
    {
        return farmCd;
    }
    public void setPlanYm(String planYm) 
    {
        this.planYm = planYm;
    }

    public String getPlanYm() 
    {
        return planYm;
    }
    public void setFirstCtrl(BigDecimal firstCtrl)
    {
        this.firstCtrl = firstCtrl;
    }

    public BigDecimal getFirstCtrl()
    {
        return firstCtrl;
    }
    public void setSecondCtrl(BigDecimal secondCtrl)
    {
        this.secondCtrl = secondCtrl;
    }

    public BigDecimal getSecondCtrl()
    {
        return secondCtrl;
    }
    public void setThirdCtrl(BigDecimal thirdCtrl)
    {
        this.thirdCtrl = thirdCtrl;
    }

    public BigDecimal getThirdCtrl()
    {
        return thirdCtrl;
    }
    public void setMonCtrl(BigDecimal monCtrl)
    {
        this.monCtrl = monCtrl;
    }

    public BigDecimal getMonCtrl()
    {
        return monCtrl;
    }
    public void setFirstPlan(BigDecimal firstPlan)
    {
        this.firstPlan = firstPlan;
    }

    public BigDecimal getFirstPlan()
    {
        return firstPlan;
    }
    public void setSecondPlan(BigDecimal secondPlan)
    {
        this.secondPlan = secondPlan;
    }

    public BigDecimal getSecondPlan()
    {
        return secondPlan;
    }
    public void setThirdPlan(BigDecimal thirdPlan)
    {
        this.thirdPlan = thirdPlan;
    }

    public BigDecimal getThirdPlan()
    {
        return thirdPlan;
    }
    public void setMonPlan(BigDecimal monPlan)
    {
        this.monPlan = monPlan;
    }

    public BigDecimal getMonPlan()
    {
        return monPlan;
    }
    public void setLastId(String lastId) 
    {
        this.lastId = lastId;
    }

    public String getLastId() 
    {
        return lastId;
    }
    public void setOperDate(Date operDate) 
    {
        this.operDate = operDate;
    }

    public Date getOperDate() 
    {
        return operDate;
    }
    public void setPlanMark(String planMark) 
    {
        this.planMark = planMark;
    }

    public String getPlanMark() 
    {
        return planMark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("farmCd", getFarmCd())
            .append("planYm", getPlanYm())
            .append("firstCtrl", getFirstCtrl())
            .append("secondCtrl", getSecondCtrl())
            .append("thirdCtrl", getThirdCtrl())
            .append("monCtrl", getMonCtrl())
            .append("firstPlan", getFirstPlan())
            .append("secondPlan", getSecondPlan())
            .append("thirdPlan", getThirdPlan())
            .append("monPlan", getMonPlan())
            .append("lastId", getLastId())
            .append("operDate", getOperDate())
            .append("planMark", getPlanMark())
            .toString();
    }
}
